package com.dddd.blog.bloguser.controller;


import com.dddd.blog.blogcommon.controller.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 用户等级记录表 前端控制器
 * </p>
 *
 * @author dddd
 * @since 2022-02-27
 */
@Controller
@RequestMapping("/level-change")
@Api(description = "用户等级API接口")
public class UserLevelChangeController extends BaseController {

    @GetMapping("/test")
    @ApiOperation(value = "用户等级变化的测试方法")
    public String test(){
        return "test";
    }

    @PostMapping("/test1")
    @ApiOperation(value = "用户等级变化的测试方法")
    public String test1(@ApiParam(name = "authorId", value="作者id",required = true)String authorId,
                        @ApiParam(name = "followId", value = "关注者id" ,required = true) String followId ){
        return "test";
    }
}
